package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Admin;
import com.example.entity.Params;

import java.util.List;

public interface AdminService extends IService<Admin> {
    List<Admin> getUsers();

    List<Admin> findBySearch(Params params);

    void add(Admin admin);

    Admin login(Admin admin);

    Admin findById(int id);
}
